package world.ztomorrow.search.constant;

public class SearchConstant {

    public static final String INDEX_BOOK = "book";
    public static final String BOOK_NAME = "bookName";
    public static final String AUTHOR_NAME = "authorName";
    public static final String BOOK_DESC = "bookDesc";
    public static final String LAST_CHAPTER_NAME = "lastChapterName";

    public static final String WORK_DIRECTION = "workDirection";
    public static final String CATEGORY_ID = "categoryId";
    public static final String BOOK_STATUS = "bookStatus";
    public static final String VISIT_COUNT = "visitCount";
    public static final String WORD_COUNT = "wordCount";
    public static final String LAST_CHAPTER_UPDATE_TIME = "lastChapterUpdateTime";

    /**
     * 小说信息改变交换机
     */
    public static final String BOOK_ID_DIRECT = "bookId.direct";

    /**
     * Elasticsearch book 索引更新的队列
     */
    public static final String ES_UPDATE_QUEUE = "es.book.update.queue";

    public static final String UPDATE_ROUTING_KEY = "update.success";
}
